package com.citytransport.prokopjuk.builder_strategy;

import com.citytransport.prokopjuk.route.Route;

/**
 * Abstract class that provide methods for creating routes. Part of pattern
 * Builder.
 * */
public abstract class AbstractRouteBuilder {
	protected Route route;

	/**
	 * Getter for route.
	 * 
	 * @return route - attribute. 
	 * */
	public Route getRoute() {
		return route;
	}

	/**
	 * Method that init attribute route.
	 * */
	public void createRoute() {
		route = new Route();
	}

	public abstract void setVehicleOnRoute();

	public abstract void setRouteID();

	public abstract void setIntervalMinute();
	
	public abstract void setPrice();
	
	public abstract void setStations();

}
